package cn.tedu.hotel_management_system.mapper;

import cn.tedu.hotel_management_system.pojo.dto.InRoomInfoFormDto;
import cn.tedu.hotel_management_system.pojo.dto.InRoomInfoUpdateDto;
import cn.tedu.hotel_management_system.pojo.entity.InRoomInfos;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author MW
 * @Description 入住信息Mapper
 * @Date 2022/9/7
 * @Entity:cn.tedu.hotel_management_system.pojo.entity.InRoomInfos
 */
@Repository
public interface InRoomInfoMapper {

    int addInRoom(InRoomInfoFormDto inRoomInfoFormDto);

    int deleteById(Long id);

    int updateById(InRoomInfoUpdateDto inRoomInfoUpdateDto);

    List<InRoomInfos> list();

}
